package com.bookdresser.model;

import java.math.BigDecimal;

import android.graphics.drawable.Drawable;

public class BookItem {

	/*state:0 卖 1 买
	 * 
	 * */
	private Drawable icon;
	private int state;
	private String name;
	private String publishingHouse;
	private String type;
	private BigDecimal price;
	private String linkmanName;
	private long linkmanNumber;
	private String description;

	public Drawable getIcon() {
		return icon;
	}

	public void setIcon(Drawable icon) {
		this.icon = icon;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPublishingHouse() {
		return publishingHouse;
	}

	public void setPublishingHouse(String publishingHouse) {
		this.publishingHouse = publishingHouse;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getLinkmanName() {
		return linkmanName;
	}

	public void setLinkmanName(String linkmanName) {
		this.linkmanName = linkmanName;
	}

	public long getLinkmanNumber() {
		return linkmanNumber;
	}

	public void setLinkmanNumber(long linkmanNumber) {
		this.linkmanNumber = linkmanNumber;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "BookItem [icon=" + icon + ", state=" + state + ", name=" + name
				+ ", publishingHouse=" + publishingHouse + ", type=" + type
				+ ", price=" + price + ", linkmanName=" + linkmanName
				+ ", linkmanNumber=" + linkmanNumber + ", description="
				+ description + "]";
	}

}
